package com.hm.cms.auto;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Getter;
import lombok.Setter;

/**
 * @author shishun.wang
 * @date 下午2:23:31 2016年7月5日
 * @version 1.0
 * @describe
 */
@Setter
@Getter
@ConfigurationProperties(prefix = "com.hm.cms.auto")
public class CmsProperties {

	private String platformName;

	private String osName;

	private HttpInvokerService httpInvokerService = new HttpInvokerService();
	
	private LogConfig logConfig = new LogConfig();
	
	@Getter
	@Setter
	public class LogConfig{
		
		private boolean req;
		
		private boolean operation;
		
		private boolean create;
		
		private boolean del;
		
		private boolean modify;
		
	}

	@Getter
	@Setter
	public class HttpInvokerService {

		private String system;

		private String email;
		
		private String recycle;
	}
}
